knitr::opts_chunk$set(echo = FALSE, collapse = TRUE, comment = "#>") require(mvbutils, quietly = TRUE) require(sna, quietly = TRUE) require(spHelper, quietly = TRUE)
Package <- "spHelper" # Plot structure of a package: pkgFW <- mvbutils::foodweb(where = paste0("package:", Package),plotting = F) sna::gplot(pkgFW$funmat, g = 2, jitter = T, # mode = "kamadakawai", diag = TRUE, vertex.cex = 1:2, displaylabels = TRUE, label.bg = "gray90", label.cex = .9, pad = 5)
pander::pander(listFunctions())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.